package com.sunlands.zlcx.usercenter.vo.count;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

/**
 * @author anjunling
 * @create 2020/7/28 13:59
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LearnTimeChartVO implements Serializable {

    private static final long serialVersionUID = -6551177684146872339L;

    @JsonIgnore
    private Long contentId;

    @ApiModelProperty(value = "统计维度")
    private String x_coordinate;

    @ApiModelProperty(value = "专注时长")
    private Long studyMinutes;

    public LearnTimeChartVO(String xCoordinate, Long studyMinutes) {
        this.x_coordinate = xCoordinate;
        this.studyMinutes = studyMinutes;
    }
}
